//{ "allowAliases": "in-unions-and-intersections" }
// primitives
type Foo1 = 'a';

type Foo2 = string;

type Foo3 = `foo-${number}`;

// reference types
interface Bar {}
class Baz implements Bar {}

type Foo4 = Bar;

type Foo5 = string;

interface Bar {}
type Foo6 = Bar;

interface Bar {}
type Foo7 = Bar | {};


